home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Die Speccy' 97
/
Die Speccy' 97.iso
/
amiga_system
/
the_aminet
/
comm
/
bbs
/
maxsutils.lha
/
MaxUtils
/
FileAdderV1.52.lha
/
FileAdder.doc
next >
Wrap
Text File
|
1992-03-26
|
2KB
|
69 lines
Yep - here it is! Another doc by Randy! 3 June, 1992
Update V1.42f (First one really!)
FileAdder is a command line file adder for MAXsBBS.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
It takes as arguments the file name and the file section to which you wanna
add it.
You can also optionally supply the name of the uploader (must be in double
quotes) - if this isn't supplied, the name from the MAXsBBS.config file will
be used.
You can also supply the file description on the command line - just type any
old thing (spaces are fine) and no quotes are needed. If no description is
supplied, the FileComment will be used - if there isn't one, no description
will be used at all.
The proggy will check that the file exists and that the section number you
pass is in fact a file section (no more files in Private Email!), but does
*not* check if the file is already online!!! (I did it, but it's too slow
for my taste, so I took it out again. Might rewrite that bit in assembler
one day - the rest is in Basic!).
Also, the programme makes *no* attempt to see if the file is in a legal path,
known to MAXsBBS.
Eddie Lawford (Ta mate!) explained how to get it to check if MAXsBBS is
running and if so tell MAXsBBS about the new file - you can simply add it in
and a user can d/l it immediately, without having to open up the file editor
and save it back. The file won't show up on the main MAXsBBS screen (the one
you have when no-one's online) unless ya iconify it & reopen, cos that screen
doesn't dynamically check all the time (no real need to) but it *is* there!!
The programme runs nicely under Directory Opus by the way - just set it up as
a gadget with the following set:
Output Window
Do All Files (So's ya can do more than 1 at a time)
Directory Opus to front
CD Source
Don't quote filenames
My command line in Dopus is:
BBS:FileAdderV142f {o} {aSection Number}
The {o} will just pass the file name, not the path as well.
When you run it, you can also add a from name or description as well of
course ... but note please that if ya add 10 files at once, adding a
description will, of course, give 'em all the same description!!
The following are valid command lines:
FileAdder Test.lha 20
FileAdder Test.lha 20 "Randy"
FileAdder Test.lha 20 "Randy" This is a test file!!
FileAdder Test.lha 20 Test file again.
Any comments etc, please lemme know.
Cheers,
Randy